<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<script type="text/javascript">
$(function(){
	$('.close-float').click(function() {
		$(this).parent().css("display","none");
	});
	$("#searchBtn").click(function() {
			var ctx=$("#ctx").val();
			var attName=$("#searchName").val();
			if(attName=='')
			{}
			else{
			window.location.href=ctx+"/searchPro/"+attName+".do";}
		});
});
</script>
		<!--[if lt IE 9]>
<script type="text/javascript" src="<%=request.getContextPath()%>/resources/PIE/PIE.js"> </script>
<script type="text/javascript">
$(function() {  
    $('#nav').each(function() {  
        PIE.attach(this);  
    });
    $(".search-box input").each(function() {  
        PIE.attach(this);  
    });
     $(".search-box .button").each(function() {  
        PIE.attach(this);  
    });
});  
</script>
<![endif]-->
<div class="head pr">
	<s class="pa shadow"></s>
	<div class="tr head_top">
		<div class="wrap">
			<div class="dib sele comp" style="z-index: 2;"> 
				<span class="qzsk"><a href="<%=request.getContextPath()%>/index.do"
					target="_blank"><b>齐重数控官网</b></a></span>
			</div>
			<div class="dib">
				<span> | </span>
			</div>
			<a href="#">English </a>| <a href="#">中文简体</a>
		</div>
	</div>
	<center>
	<div class="head_top2">
	<div class="wrap2">
		<h1 class="l logo">
		<div style='width:50px;height: 50px;'>
		<#if logo1 ??>
			<a href="${logo1.linkUrl}" title="齐重数控股份有限公司"><img
				src="<%=request.getContextPath()%>/resources/indexPic/Logo/${logo1.newName}"
				alt="齐重数控股份有限公司" width='50px' height='50px'></a>
		</#if>
		</div>
		</h1>
		<div class="logo-text">
			<span><#if logo1 ??>${logo1.title}</#if></span>
		</div>
		<div class="search-box">  
				<input type="text" placeholder="产品搜索" id="searchName"> <input class="button" id="searchBtn"
					type="button" value="搜索">
		</div>
		<div class="mainCom">
		<#if logo2 ??>
		<a href="${logo2.linkUrl}"  target="_blank">
		<img
				src="<%=request.getContextPath()%>/resources/indexPic/Logo/${logo2.newName}"
				alt="${logo2.oldName}">
			</a>
		</#if>
		</div></div></center>
	</div>
<input type="hidden" value="<%=request.getContextPath() %>" id="ctx">
	<div class="nav-bg">
		<div class="wrap">
			<ul id="nav">
				<li class="current"><a class="lhead"
					href="<%=request.getContextPath()%>/index.do">网站首页</a></li>
				<#list menus as m>
                <#if (m.children?size>0)>
                <li><a class="lhead" href="<%=request.getContextPath()%>/channel/${m.id}.do">${m.name}</a>
                    <ul>
                    <#list m.children as mc>
                        <li><a href="<%=request.getContextPath()%>/channel/${mc.id}.do">${mc.name}</a></li>
                        </#list>
                    </ul>
                </li>
                </#if>
                </#list>
			</ul>
		</div>
	</div>
</div>

<div class="float-right">
<div class="close-float">关闭</div>
<#if rightPic1 ??>
<a href="${rightPic1.linkUrl}"><img class="float-img1" src="<%=request.getContextPath()%>/resources/indexPic/Newthumbnail/${rightPic1.newName}" alt="${rightPic1.newName}"></a>
</#if>
<#if rightPic2 ??>
<a href="${rightPic2.linkUrl}"><img class="float-left-imgo" src="<%=request.getContextPath()%>/resources/indexPic/FloatRight/${rightPic2.newName}" alt="${rightPic2.newName}"></a>
</#if>
<#if rightPic3 ??>
<a href="${rightPic3.linkUrl}"><img class="float-left-imgo" src="<%=request.getContextPath()%>/resources/indexPic/FloatRight/${rightPic3.newName}" alt="${rightPic3.newName}"></a>
</#if>
<#if rightPic4 ??>
<a href="${rightPic4.linkUrl}"><img class="float-left-imgo" src="<%=request.getContextPath()%>/resources/indexPic/FloatRight/${rightPic4.newName}" alt="${rightPic4.newName}"></a>
</#if>
<#if rightPic5 ??>
<a href="${rightPic5.linkUrl}"><img class="float-left-imgo" src="<%=request.getContextPath()%>/resources/indexPic/FloatRight/${rightPic5.newName}" alt="${rightPic5.newName}"></a>
</#if>
<#if leftPic ??>
<img src="<%=request.getContextPath()%>/resources/indexPic/FloatLeft/${leftPic.newName}" alt="${leftPic.newName}"/>
</#if>
</div>





